package com.hst.capacity.domain.model.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
public class PagingResultVO<T> implements Serializable {

    /**
     * 总条数
     * */
    private Long total;

    /**
     * 结果集
     * */
    @JsonProperty("list")
    private List<T> results;

    public PagingResultVO() {

    }
}
